package cn.gene.timeyan.pojo.article.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 鐢ㄦ埛鍒嗕韩鏂囩珷鐨勮?褰
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("arms_share")
public class ShareDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id",required = true)
    @NotNull(message = "请输入用户id")
    private Long userId;

    @ApiModelProperty(value = "帖子id",required = true)
    @NotNull(message = "请输入帖子id")
    private Long articleId;

    @ApiModelProperty(value = "模块id",required = true)
    @NotNull(message = "请输入模块id")
    private Long moduleId;

    @ApiModelProperty(value = "分享平台",required = true)
    @NotNull(message = "请选择你要分享的平台")
    private String platform;

}
